pid_name=$1
ps aux | grep $pid_name | grep -v grep | awk '{print $2}' | xargs kill -9